I. Ping Introduction Ping is a command in windows, which is also available in UNIX and Linux. Ping also belongs to a communication protocol and is part of the TCP/IP protocol. The ping command can be used to check whether the network is connected,
Said the predecessors of PING Command. PING is used when the first Chinese hacker attacked Indonesia.
Ping Command details
I believe everyone is familiar with the ping command in Windows, but there are not many people who can make the most of the
In LINUX, prohibit the use of the ping command from entering the Linux system as root, then, edit the file icmp_echo_ignore_allvi/proc/sys/net/ipv4/icmp_echo_ignore_all and change the value to 1. then, an error is displayed when the PING value is
Preface
In the project, you need to determine whether the host can be pinged. Therefore, you can find the ping source code using C language on the Internet, but it is difficult to reuse it and improve it: Add timeout processing and fault tolerance
The Ping command sends an Internet Control Message Protocol (ICMP) echo request message to verify the IP-level connection with another TCP/IP computer. it is an important command, today, I will explain how to use the ping command in linux.
• The
The first half of the part turns from: 52317650Check the operating status of the equipment, and some use ping to detect. Therefore, you need to use Java to implement the ping function.In order to use Java to realize the function of Ping, it is
Prohibit the use of PING commands under Linux
Enter the Linux system with root and edit the file Icmp_echo_ignore_allVi/proc/sys/net/ipv4/icmp_echo_ignore_allTo disable ping after changing its value to 1To unblock ping after changing its
The principle and working mechanism of the ping command
ping commands are commonly used to detect network communication and impassability, also called time delay, the greater the value, the slower the ping (packetinternetgrope), the Internet Packet
ping commands are commonly used to detect network communication and impassability, also called time delay, the greater the value, the slower the ping (packetinternetgrope), the Internet Packet Explorer, used to test the amount of network
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.